package com.example.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "帖子回复")
public class ArticleReply {
    private Long id;

    @Schema(description = "关联的帖子id")
    private Long articleId;

    @Schema(description = "回复者id")
    private Long postUserId;

    //忽略，支持楼中楼功能
    private Long replyId;

    //忽略，支持楼中楼功能
    private Long replyUserId;

    @Schema(description = "回复内容")
    private String content;

    //忽略，支持点赞功能
    private Integer likeCount;

    @Schema(description = "状态")
    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //关联对象-用户信息
    private User user;

}